/*
 *  main.c
 *  PythonTemplate
 *
 *  Created by Ezequiel Aceto on 5/14/11.
 *  Copyright 2011 Xenat. All rights reserved.
 *
 */

#include <stdio.h>
#include "SDL.h"
#include "PDL.h"

	
int main (int argc, char *argv[]) {
	
	/// try to lunch simple script in order to detect if Python is present
	if (system("/media/internal/python/bin/python foo.py")) {		
		/// Execute Python with "main.py" as entry point
		system("/media/internal/python/bin/python main.py");
	}
	else{
		/// Python not present

		/// launch App Catalog pointing to "Python"
	}
	exit(EXIT_SUCCESS);
}


